package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.DehumidificationMode;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DehumidificationParameter implements Trans<DehumidificationParameter, CompleteEntity.DehumidificationParameter> {

    /**
     * 接收卡序号
     */
    private Integer prcIndex;

    /**
     * 屏幕分组序号
     */
    private Integer groupIndex;

    /**
     * 是否开启除湿，true：打开
     */
    private Boolean enable;

    /**
     * 除湿模式
     */
    private DehumidificationMode mode;

    /**
     * 除湿阶段表
     */
    private List<DehumidificationStage> stageArray;

    /**
     * 定时信息
     */
    private TimingInfo timingInfo;

    /**
     * 通用除湿flag，只在获取除湿时返回，设置时无需传递
     */
    private DehumidificationFlag flag;
}

